rust: add loongarch64 and powerpc to supported targets
authorTianling Shen <[email protected]>
Fri, 5 Sep 2025 14:03:15 +0000 (22:03 +0800)
committerTianling Shen <[email protected]>
Fri, 12 Sep 2025 06:46:43 +0000 (14:46 +0800)
Also removed i686 as OpenWrt replaces it with i386 in $(ARCH).

Signed-off-by: Tianling Shen <[email protected]>
lang/rust/rust-values.mk

index 035a4e07735e16dfd2a46240c9b282c56439982b..e1dbbbccaee3740c8072eb5c191b5bc0cb70efdf 100644 (file)
@@ -69,7 +69,7 @@ ifeq ($(ARCH),aarch64)
 endif
 
 # Support only a subset for now.
-RUST_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||mips||mipsel||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
+RUST_ARCH_DEPENDS:=@(aarch64||arm||i386||loongarch64||mips||mips64||mips64el||mipsel||powerpc||powerpc64||riscv64||x86_64)
 
 ifneq ($(CONFIG_RUST_SCCACHE),)
   RUST_SCCACHE_DIR:=$(if $(call qstrip,$(CONFIG_RUST_SCCACHE_DIR)),$(call qstrip,$(CONFIG_RUST_SCCACHE_DIR)),$(TOPDIR)/.sccache)